local host = "all51678563876539824" local sphere = Instance.new("Part",workspace:WaitForChild(host)) sphere.Shape = Enum.PartType.Ball sphere.Anchored = true sphere.Color = Color3.fromRGB(0, 174, 255) sphere.Transparency = 0.6 sphere.CanCollide = false sphere.Size = Vector3.new(8,8,8) sphere.Name = "Sphere" local highlight = Instance.new("Highlight",sphere) highlight.FillTransparency = 0.9 highlight.OutlineColor = Color3.fromRGB(25, 0, 255) highlight.FillColor = Color3.fromRGB(25, 0, 255) highlight.Adornee = sphere highlight.Enabled = true local gui = Instance.new("BillboardGui",workspace:WaitForChild(host).Head) local text = Instance.new("TextLabel",gui) text.TextColor3 = Color3.fromRGB(0,0,0) text.Font = Enum.Font.SourceSans gui.AlwaysOnTop = false gui.Size = UDim2.new(10,0,10,0) text.Size = UDim2.new(1,0,1,0) text.BackgroundTransparency = 1 text.Text = "Stay away!" text.TextScaled = true text.Position = UDim2.new(0,0,0,-250) sphere.Touched:Connect(function(part) if part:FindFirstAncestorWhichIsA("Model") ~= workspace:WaitForChild(host) and game.Players:FindFirstChild(part:FindFirstAncestorWhichIsA("Model").Name) then local plr = part:FindFirstAncestorWhichIsA("Model") plr:WaitForChild("HumanoidRootPart").CFrame = CFrame.lookAt(plr:WaitForChild("HumanoidRootPart").Position,workspace:WaitForChild(host):WaitForChild("HumanoidRootPart").Position) local tween = game:GetService("TweenService"):Create(plr:WaitForChild("HumanoidRootPart"),TweenInfo.new(0.2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0),{CFrame = plr:WaitForChild("HumanoidRootPart").CFrame + plr:WaitForChild("HumanoidRootPart").CFrame.LookVector*-8}) tween:Play() text.Text = "Stay away, "..game.Players:FindFirstChild(plr.Name).DisplayName.."!" end end) game:GetService("RunService").Heartbeat:Connect(function() sphere.Position = workspace:WaitForChild(host):WaitForChild("HumanoidRootPart").Position end) task.spawn(function() local b = sphere local x = 0 while task.wait() do b.Color = Color3.fromHSV(x,1,1) highlight.OutlineColor = Color3.fromHSV(x,1,1) highlight.FillColor = Color3.fromHSV(x,1,1) x = x + 1/255 if x >=1 then x = 0 end end end)